#!/bin/sh


# curl -s https://install.zerotier.com | sudo bash

GPG_FILE=zerotier/zerotier.com.gpg

if [ ! -f ${GPG_FILE} ]; then
	curl -o ${GPG_FILE} 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' 
fi

cat ${GPG_FILE} | gpg --import
if z=$(curl -s 'https://install.zerotier.com/' | gpg); then
	echo "$z" | sudo bash;
fi

